package com.md;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author 刘骄阳
 * 2022-03-11 10:26
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.md.mapper")
@RefreshScope
@Slf4j
public class GatewayApplicationStarter {
  public static void main(String[] args) {
    SpringApplication.run(GatewayApplicationStarter.class);
//    DemoClient bean = SpringContextUtils.getBean(DemoClient.class);
//    bean.getHttpIp();
  }
}
